const Daemon = require('siwi-daemon')
const Logger = require('siwi-logger')
class Service {
    constructor() {
    }
    async init (config) {
        console.log('Services Framework Initializing...');
        await Logger.init(config['logger'])
        await Logger.log('日志开始记录')
        Daemon.init(config['routes'], Logger)
    }
}

module.exports = Service